package BasicGrammar.Polymorphism.demo2;

public class Test {

    public static void drawMap(Shape shape) {
        shape.draw();
    }

    public static void main(String[] args) {
        //Shape shape = new Shape();
        drawMap(new Rect());
        drawMap(new Cycle());

    }
}
